import request from '@/utils/request'
import qs from 'qs'


export const login = async (data) => {
   return request({ url: 'api/v1/admin/login', method: 'POST', data: qs.stringify(data) })
}


export const loginData = async () => {
  return request({ url: 'api/v1/admin/loginData', method: 'GET' })
}
